package com.dt76.smallloanbackenduser.hystrix.yaozhao;

import com.dt76.smallloanbackenduser.pojo.yaozhao.UpcomingExpire;
import com.dt76.smallloanbackenduser.remote.yaozhao.UpcominngExpireRemote;
import com.dt76.smallloanbackenduser.utils.Page;
import org.springframework.stereotype.Component;

import java.util.ArrayList;
import java.util.List;

@Component
public class UpcomingExpireRemoteHystrix implements UpcominngExpireRemote {
    @Override
    public List<UpcomingExpire> qryAll() {
        return new ArrayList<>();
    }

    @Override
    public Page qryPageAll(int pageIndex, String userName, String phoneNumber, String loanId, String ContractId) {
        System.out.println("熔断》》》");
        return new Page();
    }
}
